import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { UserModule } from './page/user/user.module';
import { MainComponent } from './main.component';
import { MainRoutingModule } from './main.routing.module';
import { MenuComponent } from './component/menu/menu.component';
import { NavbarModule } from './component/navbar/navbar.module';
import { ModalModule } from './component/modal/modal.module';
import { NewsModule } from './page/news/news.module';
import { MguserModule } from './page/manageUser/mguser.module';
import { PushMessageModule } from './page/pushMessage/pushMsg.module';
import { CircleFriendModule } from './page/circleFriend/circleFriend.module';
import { CapitalModule } from './page/capital/capital.module';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        NavbarModule,
        ModalModule,
        MainRoutingModule,
        UserModule,
        NewsModule,
        MguserModule,
        PushMessageModule,
        CircleFriendModule,
        CapitalModule
    ],
    declarations: [
        MainComponent,
        MenuComponent
    ],
    schemas: [
        CUSTOM_ELEMENTS_SCHEMA
    ],
    providers: []
})
export class MainModule { }